#ifndef __OBJ_SHADER_H__
#define __OBJ_SHADER_H__

#include <fwHeader.h>

class ObjectShader
{
private:
	GLuint m_VertexShader;
	GLuint m_FragmentShader;
public:
	GLuint m_Program;

	GLuint m_Position;
	GLuint m_Color;
	GLuint m_UV;
	GLuint m_Normal;
	GLuint m_Binormal;
	GLuint m_Tangent;

	GLuint m_Sampler[11];

	GLuint m_LocalWorld;
	GLuint m_WVP;

	GLuint m_LightColor;
	GLuint m_LightPosion;

	GLuint m_AlphaChannel;
	GLuint m_GrayScaleOption;
private:
	void LoadShaderDataLocation();
public:
	ObjectShader();
	GLuint InitFormFile(char*, char*);
	GLuint InitFormSRC(char*, char*);
	void Destroy();
};

#endif